package com.qq.mall.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Admin对象", description="商家 ")
public class Admin implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id 商家id")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @ApiModelProperty(value = "商家名 商家名")
    private String adminname;

    @ApiModelProperty(value = "密码 密码")
    private String adminpwd;

    @ApiModelProperty(value = "注册时间 创建时间")
    private Date adminRegtime;

    @ApiModelProperty(value = "更新时间 更新时间")
    private Date adminModtime;
}
